#!/usr/bin/env python
#-*- coding:utf-8 -*-

u"XML Map Editor in Python/Qt"

__author__ = "Alexandre Bodelot"
__email__  = "alexandre.bodelot@gmail.com"
__site__   = "http://ppd15.googlecode.com"

import sys
from src.MainWindow import *

if __name__ == '__main__':
	app = QApplication(sys.argv)
	editor = MainWindow()
	editor.show()

	if len(sys.argv) > 1:
		editor.open_map(sys.argv[1])

	app.exec_()
